<?php
use yii\helpers\Html;
use yii\widgets\ActiveForm;

?>
<?php $form=ActiveForm::begin(['action'=>'?w=clssify/save']);?>
<center><h1>分类修改</h1></center>
<table class='table table-bordered'>
	<tr>
		<th>分类所属层级</th>
		<td><? echo $form->field($class, 'classify_action')->label('')->dropDownList($datas, ['style'=>'width:120px']); ?></td>
	</tr>
	<tr>
		<th>分类</th>
		<td><input type="text" name='classify_name' class='form-control' style='width:300px' value="<?php echo $classify_name?>"></td>
	</tr>
	<tr>
		<td><input type="hidden" name='id' value="<?=$id?>"></td>
		<td><?=Html::submitButton('修改',['class'=>'btn btn-primary']);?></td>
	</tr>
</table>
<?php ActiveForm::end();?>